// import
const mongoose = require("mongoose");

// create Schema
const usersSchema = new mongoose.Schema({
  username: {
    type: String,
    unique: true,
  },
  password: String,
});

// create Model
const usersModel = mongoose.model("users", usersSchema);

// export
module.exports = usersModel;
